package top.lixunda.books3.dao;

import org.apache.ibatis.annotations.Param;
import top.lixunda.books3.entity.SoldNote;
import top.lixunda.books3.entity.SoldNoteExample;

import java.util.List;

public interface SoldNoteMapper {
    long countByExample(SoldNoteExample example);

    int deleteByExample(SoldNoteExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SoldNote record);

    int insertSelective(SoldNote record);

    List<SoldNote> selectByExample(SoldNoteExample example);

    SoldNote selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SoldNote record, @Param("example") SoldNoteExample example);

    int updateByExample(@Param("record") SoldNote record, @Param("example") SoldNoteExample example);

    int updateByPrimaryKeySelective(SoldNote record);

    int updateByPrimaryKey(SoldNote record);
}